package com.tedu;

//使用while循环 0-10
public class Test001 {
    public static void main (String[] args) {
//        for (int i = 0; i < 11; i++) {
//            System.out.println(i);
//        }
//        int a = 0;//循环初始化条件
//        while (a<=3) {
//            a+=1;
//            System.out.println(a);
//        }

        int a = 8;
        while (a <= 8888) {
            System.out.println(a);
            a = a * 10 + 8;
        }


    }
}
//打印 n  8,88,888,8888
